#ifndef PITA_QUEUE_H_
#define PITA_QUEUE_H_

#include "interfaces/queue_interface.h"

namespace pita
{

	class Queue : public QueueInterface
	{
		public:
			unsigned int size() const;

			/* Throws IndexError if Index is out of range */
			SourceDescriptor sourceDescriptor(Index) const;
			void insert(const SourceDescriptor&, Index);
			void erase(Index);
			
		private:
			typedef std::vector<SourceDescriptor> SourceDescriptors;
			SourceDescriptors source_descriptors_;
	};

}

#endif
